<template>
  <div class="home">
     <div class="user-nav">
         <router-link :to="{name:'userInfo'}">
                   用户信息
                </router-link  >
                 <router-link :to="{name:'userAdd'}" >
                   用户添加
                </router-link>
     </div>
     <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
// @ is an alias to /src

export default {
  name: 'Home',
}
</script>
<style lang="less">
.user-nav{

  border-bottom: 1px solid  #EBEEF5 ;
  height: 30px;
  text-align: 30px;
  a{
    text-decoration: none;
    color: #000;
    padding: 0 5px;
  }
  .router-link-active{
    font-weight: 700;
  }
}
</style>
